#include <stdio.h>

/**
 * Clion环境配置：https://www.cnblogs.com/attentle/p/12652512.html
 * Clion中文乱码问题：https://blog.csdn.net/weixin_43912367/article/details/104886495
 * 编译报错 "could not load cache" -->  cmake-build-debug被手动删除过 需要在file中 Reload CMake Project
 * @return
 */
int main1() {
    // 基本数据类型
    int i = 100;
    float f = 200;
    double d = 300;
    long l = 400;
    short s = 50;
    char c = 'c';
    char *str = "string";

    printf("您好！ Hello, World!\n");
    printf("i = %d!\n", i);
    printf("f = %f!\n", f);
    printf("d = %lf!\n", d);
    printf("l = %ld!\n", l);
    printf("s = %d!\n", s);
    printf("c = %c!\n", c);
    printf("str = %s!\n", str);

    return 0;
}
